package com.wuhuahe.learning.lagou.service.dubbo.api;

import com.wuhuahe.learning.lagou.service.dubbo.api.protol.RegisterInfo;
import com.wuhuahe.learning.lagou.service.dubbo.api.protol.UserInfo;


public interface UserService {

    public boolean register(RegisterInfo registerInfo);

    public boolean isRegistered(String email);

    public UserInfo getUserByEmailAndPassword(String email, String password);
}
